﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Extensil.Common;
using System.Threading;

namespace MyTestTask
{
    public class Count : TaskBase
    {
        public override void Start(object param)
        {
            int cnt = Convert.ToInt32(param);
            for(int i = 0; i < cnt; i++)
            {
                UpdateStatus((i * 100) / cnt, i.ToString());
                Thread.Sleep(1000);
            }
        }
    }
}
